scrolledwindow: reset more Indicator state on ::unmap
authorCarlos Garnacho <carlosg@gnome.org>
Fri, 22 May 2015 18:52:17 +0000 (20:52 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 22 May 2015 19:16:36 +0000 (21:16 +0200)
commitf00214e92206117a85b933745f89e5c998024c3d
tree1211945505d13f7fa5df57dbd8b93d97d4f1d8e2
parent39f91d7cdbf0081e827bfece2dec034c15310e2d
scrolledwindow: reset more Indicator state on ::unmap

If a GtkScrolledWindow is just unmapped and promptly mapped again, the
indicators are left in a semi-visible state, so the GdkWindow isn't raised
properly above scrolledwindow content. This inconsistent state went away
the next time the indicator is hidden.

So, reset all state about indicator window visibility, animation
progress and conceil timer on ::unmap, this will be enough to make the
indicators start out hidden like on newly created scrolledwindows.
gtk/gtkscrolledwindow.c